package com.shuaitao.newsystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shuaitao.newsystem.bean.Comments;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shuaitao.newsystem.utils.R;

import java.util.List;

/**
* @author 24820
* @description 针对表【comments】的数据库操作Service
* @createDate 2023-06-21 17:04:39
*/
public interface CommentsService extends IService<Comments> {

    IPage<Comments> getDetailComments(Integer nid, Integer pageNum);

    R delComment(Integer cid);
}
